 <?
 class comment_model extends add_model_module{ 	function return_comment($id,$field){ 	 return $this->db->result_array($this->db->query("SELECT id_lang_text.text,id_lang_text.date From id_lang_text ,ns_doc,comment WHERE ns_doc.father_id=".$id." AND ns_doc.show_me=1 AND ns_doc.module='comment' AND comment.id=ns_doc.id AND id_lang_text.id=comment.".$field." group by id_lang_text.date order by id_lang_text.date DESC;"));
 	} }
 ?>